A rule that when literal compliance is impossible the intention of a donor or testator should be carried out as nearly as possible